Xbasic

StringDictionary.INITIALIZE Function

Syntax

Initialize as v(pairs as c)

Arguments

pairs

A list of entries to add to a StringDictionary list. Each entry is composed of a pair of values in the format: Key_Value = Data_Value. Each pair of values is followed by a CR-LF.

Description

Add several pairs, separated by '=', items separated by cr-lf.

Discussion

The .INITIALIZE() method adds multiple entries to a StringDictionary list.

Example

dim sd as StringDictionary
dim values as C
values = <<%a%
One=a
Two=b
Three=c
%a%
dd.initialize(values)

See Also